package com.zhongfl.crm.enums.boss;

/**
 * 序列号生产类型，如果是新类型。需要重新申请
 * <p>
 * Created by wangkun23 on 2018/4/16.
 */
public enum SequenceTypeEnum {
    /**
     * 默认
     */
    CUSTOMER_ORDER_NO(100, "客户订单号"),
    ORDER_NO(1000, "交付订单号"),
    WORK_ORDER_NO(2000, "工单号"),
    TASK_NO(2000, "任务号"),
    TRADE_NO(4000, "交易号"),
    SETTLE_NO(5000, "结算单号"),
    APPROVAL_NO(6000, "审批编号"),
    DEFAULT(0, "序列号");

    private Integer key;
    private String value;

    SequenceTypeEnum(Integer key, String value) {
        this.key = key;
        this.value = value;
    }

    public Integer getKey() {
        return key;
    }

    public String getValue() {
        return value;
    }
}
